home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / ansi2knr.1 < prev    next >
Text File  |  1995-07-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      AAAANNNNSSSSIIII2222KKKKNNNNRRRR((((1111))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((33331111 DDDDeeeecccceeeemmmmbbbbeeeerrrr 1111999999990000))))      AAAANNNNSSSSIIII2222KKKKNNNNRRRR((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           ansi2knr - convert ANSI C to Kernighan & Ritchie C
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           _a_n_s_i_2_k_n_r input_file output_file
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           If no output_file is supplied, output goes to stdout.
  16.           There are no error messages.
  17.  
  18.           _a_n_s_i_2_k_n_r recognizes functions by seeing a non-keyword
  19.           identifier at the left margin, followed by a left
  20.           parenthesis, with a right parenthesis as the last character
  21.           on the line.  It will recognize a multi-line header if the
  22.           last character on each line but the last is a left
  23.           parenthesis or comma.  These algorithms ignore whitespace
  24.           and comments, except that the function name must be the
  25.           first thing on the line.
  26.  
  27.           The following constructs will confuse it:
  28.                - Any other construct that starts at the left margin
  29.           and follows the above syntax (such as a macro or function
  30.           call).
  31.                - Macros that tinker with the syntax of the function
  32.           header.
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 7/3/94)
  64.  
  65.  
  66.  
  67.